package com.sell.mapper;

import com.sell.entity.Product;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ProductMapper {

    int deleteByPrimaryKey(Integer productid);

    int insert(Product record);

    int insertSelective(Product record);
    /**
     * 根据productid获取Product
     * @return
     */
    Product getProductByid(@Param("productid")Integer productid);
}